export enum WzqGameStatus {
    READYING = 1,       // 准备阶段
    GAMING = 2,         // 游戏中
    GAME_SETTLE = 3,    // 游戏结算
}

export const WzqConst = {
    READY_RESULT_CODE: {
        SUCCESS: 1,
        ALREADY_READY: 2
    },
    UNREADY_RESULT_CODE: {
        SUCCESS: 1,
        NOT_READY: 2,
        GAMING: 3,
    },
    DOWN_PIECE_RESULT_CODE: {
        SUCCESS: 1,
        NOT_YOUR_TURN: 2,
        NOT_EMPTY: 3
    }
}

export const WzqHint = {
    READY_RESULT: {
        [WzqConst.READY_RESULT_CODE.SUCCESS]: "准备成功",
        [WzqConst.READY_RESULT_CODE.ALREADY_READY]: "已经准备"
    },
    UNREADY_RESULT: {
        [WzqConst.UNREADY_RESULT_CODE.SUCCESS]: "取消准备成功",
        [WzqConst.UNREADY_RESULT_CODE.NOT_READY]: "没有准备",
        [WzqConst.UNREADY_RESULT_CODE.GAMING]: "游戏进行中"
    },
    DOWN_PIECE_RESULT: {
        [WzqConst.DOWN_PIECE_RESULT_CODE.SUCCESS]: "下子成功",
        [WzqConst.DOWN_PIECE_RESULT_CODE.NOT_YOUR_TURN]: "不是你的回合",
        [WzqConst.DOWN_PIECE_RESULT_CODE.NOT_EMPTY]: "该位置已经有子了"
    },
}